package com.qidian.mes.md.mapper;

import com.qidian.mes.md.dict.WorkStationInfo;
import com.qidian.mes.pojo.MdWork;
import com.qidian.mes.util.pojo.QdResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: CoolPro
 * @Description:
 * @Time: 2024-04-10 18:47
 **/

public interface MdWorkMapper {
    void insertMdWork(MdWork mdWork);

    void deleteMdWorkById(@Param("idWork") Integer idWork);

    void deleteMdWorksByIds(Integer[] idWorks);

    void updateMdWork(MdWork mdWork);

    MdWork getMdWorkById(Integer idWork);

    List<MdWork> getMdWorksByName(@Param("mdWork") MdWork mdWork, @Param("offset") Integer offset, @Param("limit") Integer limit);

    Integer getCount();

    List<WorkStationInfo> getAllInfo();
}
